* {
	padding: 0;
	margin: 0;
}

html {
	height: 100%;
}

body {
	background-color: rgb(51, 51, 51);
	font-family: 'Courier New', Courier, monospace;
}

.panel {
	text-align: center;
	padding: 10% 0;
}

.panel .btn-container {
	display: inline-block;
}

.panel .btn-container .btn {
	display: inline-block;
	height: 60px;
	background-color: seagreen;
	vertical-align: middle;
	line-height: 60px;
	font-size: 20px;
	color: #FFFFFF;
	font-weight: bold;
	width: 160px;
	border-radius: 30px;
	margin-left: -169px;
	transition: .2s;
}

.panel .btn-container input {
	border: 0;
	outline: 0;
	width: 120px;
	height: 60px;
	border-radius: 30px;
	background-color: rgb(104, 101, 101);
	color: #fff;
	font-size: 20px;
	padding: 0 20px;
	vertical-align: middle;
	transition: .2s;
}

.panel .btn-container:hover input {
	width: 400px;
	animation: inputAction .4s ease-out;
}

.panel .btn-container:hover .btn {
	width: 100px;
	height: 60px;
	margin-left: -100px;
}

@keyframes inputAction {
	0% {
		width: 400px;
	}

	60% {
		width: 450px;
	}

	100% {
		width: 400px;
	}
}

@keyframes btnAction {
	0% {
		width: 100px;
		height: 60px;
		margin-left: -100px;
	}

	60% {
		width: 80px;
		height: 60px;
		margin-left: -60px;
	}

	100% {
		width: 100px;
		height: 60px;
		margin-left: -100px;
	}
}
